﻿using DadayunApi.Model;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace KhtApi.Model
{
    /// <summary>
    /// 库存余额报表：
    /// 报表名称：库存余额查询
    /// </summary>
    public class StockBalanceReport
    {
        public List<StockBalance> Results { get; set; }
    }
    
    public class StockBalance
    {
        public int RowNum { get; set; }
        public ReportDataObject DataObjs { get; set; }
        [JsonProperty(PropertyName = "库存数量", NullValueHandling = NullValueHandling.Ignore)]
        public double Qty { get; set; }

        [JsonProperty(PropertyName = "成本金额", NullValueHandling = NullValueHandling.Ignore)]
        public double? Cost { get; set; }

       

        [JsonProperty(PropertyName = "仓库", NullValueHandling = NullValueHandling.Ignore)]
        public string ItemCode { get; set; }

        [JsonProperty(PropertyName = "产品名称", NullValueHandling = NullValueHandling.Ignore)]
        public string Name { get; set; }

        [JsonProperty(PropertyName = "型号", NullValueHandling = NullValueHandling.Ignore)]
        public string ModelNo { get; set; }

        [JsonProperty(PropertyName = "规格", NullValueHandling = NullValueHandling.Ignore)]
        public string Spec { get; set; }

      

        [JsonProperty(PropertyName = "大类", NullValueHandling = NullValueHandling.Ignore)]
        public string Catagory1 { get; set; }

        [JsonProperty(PropertyName = "中类", NullValueHandling = NullValueHandling.Ignore)]
        public string Catagory2 { get; set; }

        [JsonProperty(PropertyName = "小类", NullValueHandling = NullValueHandling.Ignore)]
        public string Catagory3 { get; set; }

        [JsonProperty(PropertyName = "单位", NullValueHandling = NullValueHandling.Ignore)]
        public string Unit { get; set; }

       


    }
}
